package com.ziiwee.reduce.describe.types.parser;

import com.ziiwee.reduce.describe.TypeDescribe;
import com.ziiwee.reduce.describe.creators.types.DefaultTypeDescribeCreator;
import org.springframework.core.ResolvableType;

/**
 * @author ziiwee
 * @data 2020/8/13
 */
public class DefaultTypeDescribeParser implements TypeDescribeParser {
    @Override
    public TypeDescribe parse(ResolvableType type) {
        return new DefaultTypeDescribeCreator(type).create();
    }
}
